import request from "@/utils/request";

/**
 * 报名审核列表
 * @returns {*}
 */
export function getList(params) {
  return request({
    url: "/league/competition/CptSignerList",
    method: "get",
    params: params,
  });
}

/**
 * 报名审核/详情
 * @returns {*}
 */
export function getReviewList(params) {
  return request({
    url: "/league/sign/cptSignerDetails",
    method: "get",
    params: params,
  });
}

/**
 * 批量审核
 * @returns {*}
 */
export function verityOrder(data) {
  return request({
    url: "/league/signOrder/batchVerityOrders",
    method: "put",
    data: data,
  });
}

/**
 * 审核详情
 * @returns {*}
 */
export function orderParticulars(params) {
  return request({
    url: "/league/signOrder/personalVerityDetails",
    method: "get",
    params: params,
  });
}

/**
 * 审核/核销
 * @returns {*}
 */
export function checkCancel(data) {
  return request({
    url: "/league/signOrder/verityOrder",
    method: "put",
    data,
  });
}

/**
 * 确认保险购买情况
 * @returns {*}
 */
export function confirmInsurance(data) {
  return request({
    url: "/league/signOrder/confirm/orderInsure",
    method: "put",
    data,
  });
}

/**
 * 免费报名的详情
 * @returns {*}
 */
export function freeChargeDetail(params) {
  return request({
    url: "/league/sign/freeChargeDetail",
    method: "get",
    params,
  });
}
